home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
049a
/
slhea201.zip
/
REPM.BAT
< prev
Wrap
DOS Batch File
|
1991-06-09
|
913b
|
31 lines
@echo off
if not "%CMDLINE%"=="" GOTO OK
ECHO Sorry, you need 4DOS !
goto end
:OK
TEXT
┌─────────────────────────────────┐
│ │
│ Reply to a message │
│ (Mega Mail) │
│ │
└─────────────────────────────────┘
ENDTEXT
if not exist refer.txt goto noref
rem replace d:\temp\mail\header by your favorite header file...
rem replace "edit" by your favorite text editor
makehead <refer.txt >MESSAGE.txt d:\temp\mail\header
edit message.txt refer.txt
quit
:noref
rem : We can have :
rem 1° new message : add the footer
rem but Megamail create a Message.Txt with only Ctrl-Z in it
rem 2° re-edit a message : don't touch it !
rem : we have to test size of message.txt. So we need 4DOS...
iff filesize message.txt LE 1 then
makehead >message.txt d:\temp\mail\header
endiff
edit message.txt
:end